package modelLayer;



import static org.junit.Assert.*;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;

/**
 * The test class CopyTest.
 *
 * @author  (your name)
 * @version (a version number or a date)
 */
public class CopyTest
{
    private modelLayer.Copy copy1;
    private modelLayer.Copy copy2;

    /**
     * Default constructor for test class CopyTest
     */
    public CopyTest()
    {
    }

    /**
     * Sets up the test fixture.
     *
     * Called before every test case method.
     */
    @Before
    public void setUp()
    {
        copy1 = new modelLayer.Copy(1, 35, "2-2-1992");
        copy2 = new modelLayer.Copy(2, 35, "2-4-1992");
    }

    /**
     * Tears down the test fixture.
     *
     * Called after every test case method.
     */
    @After
    public void tearDown()
    {
    }

    @Test
    public void testCopy()
    {
        modelLayer.Copy copy1 = new modelLayer.Copy(1, 40, "1-2-1991");
        assertEquals(1, copy1.getSerialNumber());
    }
}




